package com.chixing.service;

import com.chixing.pojo.EsJobCompany;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Repository
public interface EsJobService extends ElasticsearchRepository<EsJobCompany,Integer>{
    List<EsJobCompany> findByjobName(String jobName);
    List<EsJobCompany> findByjobType(String jobType);
    List<EsJobCompany> findByjobMaxSalary(Float jobMaxSalary);
    List<EsJobCompany> findByjobMinSalary(Float jobMinSalary);
    List<EsJobCompany> findByjobDegree(String jobDegree);
    List<EsJobCompany> findByjobExperience(String jobExperience);
    List<EsJobCompany> findByjobLocArea(String jobLocArea);
    List<EsJobCompany> findBycompanyImg(String companyImg);
    List<EsJobCompany> findBycompanyName(String companyName);
    List<EsJobCompany> findBycompanyIndustry(String companyIndustry);
    List<EsJobCompany> findBycompanyFinance(String companyFinance);
    List<EsJobCompany> findBycompanyScale(String companyScale);



}




